package com.genesis.yunnanji.config;


import com.genesis.yunnanji.Application;

/**
 *
 */
public class GenesisApiConfig {

    public static final int IMAGE_HEAD = 0;
    public static final int IMAGE_OTHER = 1;
    public static int CITY_ID = 32;
    public static String HOST;
    public static final String APP_TOKEN = "&__apptoken__=";
    public static final String FROM_APP = "?from=app";

    static {
        if (Application.open) {
            HOST = "http://www.jinzhanji.com";
//            HOST = "http://www.jinzhanji.com";
//            HOST = "http://test.jinzhanji.com";
        } else {
//            HOST = "http://172.0.0.101";
            HOST = "http://test.jinzhanji.com";
        }
    }

    public static final String TOKEN_STR = "327151481316140594327";
    //图片域名
//    public static final String PIC_HOST = "http://upload.jinzhanji.com/";
    public static final String PIC_HOST = "http://upload.jinzhanji.com/";
    //首页接口
    public static final String INDEX = "/ApiV2/Index/index.html";
    //Banner
    public static final String BANNER = "/ApiV2/Index/advert.html";
    //新闻分类
    public static final String NEWS_CATEGORY = "/ApiV2/News/category.html";
    //新闻列表
    public static final String NEWS_LIST = "/ApiV2/News/getlist.html";
    //体验馆
    public static final String SUP_LIST = "/ApiV2/Tiyan/getlist.html";
    //体验馆详情
    public static final String SUP_DETAILS = "/ApiV2/Tiyan/details.html";
    //地产列表
    public static final String HOUSE_LIST = "/ApiV2/House/getlist.html";
    //楼盘详情
    public static final String HOUSE_DETAILS = "/ApiV2/House/details.html";
    //楼盘户型图
    public static final String HOUSE_PHONE = "/ApiV2/House/housephoto.html";
    //地州官列表
    public static final String PAVILION_LIST = "/ApiV2/Dizhou/index.html";
    //地州详情
    public static final String PAVILION_DETAILS = "/ApiV2/Dizhou/details.html";
    //获取特产菌类景点列表
    public static final String SPCIAL_LIST = "/ApiV2/Specialty/getlist.html";
    //体验文章列表
    public static final String ARTICLE_LIST = "/ApiV2/Article/getlist.html";
    //获取验证码
    public static final String GET_VCODE = "/ApiV2/Login/sendsms.html";
    //注册
    public static final String REG = "/ApiV2/Login/submit.html";
    //登陆
    public static final String LOGIN = "/ApiV2/Login/login.html";
    //个人信息
    public static final String PERSON_INFO = "/ApiV2/Member/getinfo.html";
    //上传头像
    public static final String HEAD_ICON = "/ApiV2/Member/upload.html";
    //保存个人信息
    public static final String SAVEINFO = "/ApiV2/Member/setinfo.html";
    //修改密码
    public static final String CHANGE_PWD = "/ApiV2/Member/updatepwd.html";
    //找回密码
    public static final String FIND_PWD = "/ApiV2/Login/findpwd.html";
    //找回密码验证码
    public static final String FIND_PWD_SMS = "/ApiV2/Login/findpwdsms.html";
    //QQ登陆
    public static final String QQ_LOGIN = "/ApiV2/Login/qqconnect.html";
    //推出登陆
    public static final String LOGOUT = "/ApiV2/Login/logout.html";
    //微信登陆
    public static final String WEIXIN_LOGIN = "/ApiV2/Login/wxopenconnect.html";
    //绑定手机
    public static final String BIND_PHONE = "/ApiV2/Member/savemobile.html";
    //绑定手机验证码
    public static final String BIND_PHONE_SMS = "/ApiV2/Member/savemobilesms.html";
    //搜索
    public static final String SEARCH = "/ApiV2/Search/getlist.html";
    //我的评论
    public static final String SEND_COMMENT = "/ApiV2/Member/mycomment.html";
    //收到的回复
    public static final String REV_COMMENT = "/ApiV2/Member/replyme.html";
    //应用检测更新
    public static final String UPDATE = "/ApiV2/Index/appversion.html";
    //商城订单
    public static final String STORE_ORDER = "/ApiV2/Order/payindex.html";
    //微信付款
    public static final String WECHATPAY = "/ApiV2/WxAppPay/index.html";
    //支付宝
    public static final String ALIPAY = "/Pay/AliPayPc/appindex/via/json.html";

    /**
     * 新版地址
     */
    //首页上半
    public static final String HOME_PAGE = "/ApiV2/Index/index.html";
    //首页下半部新闻
    public static final String HOME_NEWS = "/ApiV2/Index/getlist.html";
    //专访
    public static final String VISIT = "/ApiV2//News/getzhuanfang.html";
    //视频
    public static final String VIDEO = "/ApiV2//News/getvideo.html";
    //专题
    public static final String SUBJECT = "/ApiV2//News/getzhuanti.html";
    //标签化Banner
    public static final String BANNER_ADD = "/ApiV2/Index/advert.html";
    //特产
//    public static final String TECHAN = "/ApiV2/Article/techan.html";
    public static final String TECHAN = "/ApiV2/Specialty/techan.html";
    //菌库
//    public static final String JUNKUN = "/ApiV2/Article/junku.html";
    public static final String JUNKUN = "/ApiV2/Specialty/junku.html";
    //非遗
//    public static final String FEIYI = "/ApiV2/Article/feiyi.html";
    public static final String FEIYI = "/ApiV2/Specialty/feiyi.html";
    //收藏
    public static final String COLLECT = "/ApiV2/MemberM/document_collect";
    //取消收藏
    public static final String DELETE_COLLECT = "/ApiV2/MemberM/remove_document_collect.html";
    //购物卡支付
    public static final String ECARD = "/Pay/Card/payment_do/agent/API/via/json.html";
    //余额支付
    public static final String BALANCE = "/Pay/Account/payment/agent/API/via/json";
    //商场网络图
    public static final String SHOP_PICTURE = "/ApiV2/Index/advert.html";
    //帮助中心
    public static final String HELP_CENTER = "/ApiV2/AboutUs/index.html";

    //特产标签化
    public static final String SPECIALTY_TABNAV = "/ApiV2/Specialty/tabnav.html";
    //加载标签相关
    public static final String PECIALTY_GETLISTTIYAN = "/ApiV2/Specialty/getlisttiyan.html";

    public static final String INFOSPACE_NEW_INDEX ="/ApiV2/Infospace/index.html";
    public static final String INFOSPACE_DETAILS = "/ApiV2/Infospace/details.html";
    public static final String DIZHOU_NEW_INDEX = "/ApiV2/Dizhou/new_index.html";
    public static final String DIZHOU_NEW_DETAILS = "/ApiV2/Dizhou/new_details.html";
    public static final String DIZHOU_MEISHI = "/ApiV2/Dizhou/meishi.html";
    public static final String DIZHOU_FANG = "/ApiV2/Dizhou/fang.html";
    public static final String DIZHOU_HOTEL = "/ApiV2/Dizhou/hotel.html";
    public static final String DIZHOU_ZUCHE = "/ApiV2/Dizhou/zuche.html";
    public static final String DIZHOU_SPECIALTY = "/ApiV2/Dizhou/specialty.html";
    public static final String DIZHOU_WENLV = "/ApiV2/Dizhou/wenlv.html";
    public static final String DIZHOU_JINGDAIN = "/ApiV2/Dizhou/jingdain.html";
    public static final String DIZHOU_JINGIDAN_INFO = "/ApiV2/Dizhou/jingidan_info.html";

}
